-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Move struct Placeholder<T>
#149535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Move struct Placeholder<T>
#149535
Conversation
This comment has been minimized.
This comment has been minimized.
e9e240f to
31df95c
Compare
This comment has been minimized.
This comment has been minimized.
Using The impl<T> rustc_type_ir::ir_print::IrPrint<T> for TyCtxt<'_>
where
T: Copy + for<'a, 'tcx> Lift<TyCtxt<'tcx>, Lifted: Print<'tcx, FmtPrinter<'a, 'tcx>>>,Yeah, it's the Lift impl currently in
Yeah, you should instead only use |
31df95c to
0097b2b
Compare
This comment has been minimized.
This comment has been minimized.
|
After implementing Despite the implementation in |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
r? ghost
Couple of issues I've encountered;
compiler/rustc_infer/src/infer/region_constraints/mod.rsGenericKindI can't callwrite!(f, "{p}")due to error 1. Which looks like I may need to implementLiftforPlaceholder?define_print_and_forward_display!forty::PlaceholderTypecaused error 2, as I've moved the struct it no longer exists in the crate. I suspect because I'm not using that macro it causes the error forGenericKindError 1
Error 2